Skip to content

Conversation

@AsTonyshment
Copy link
Collaborator

Linked Issue

Fix #5865

Description

Now the precision of floating-point numbers should remain consistent before and after printing a Tensor.

@mohanchen mohanchen added the Refactor Refactor ABACUS codes label Jan 17, 2025
@mohanchen mohanchen merged commit 7ee1e7a into deepmodeling:develop Jan 17, 2025
14 checks passed
@AsTonyshment AsTonyshment deleted the fix_Tensor_precision branch January 17, 2025 09:48
Fisherd99 pushed a commit to Fisherd99/abacus-BSE that referenced this pull request Mar 31, 2025
…odeling#5866)

* Fix the precision loss in Tensor output stream operator <<

* [pre-commit.ci lite] apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Refactor Refactor ABACUS codes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tensor: Precision loss in Tensor output stream operator <<

2 participants